#ifndef DESIGN_PATTERN_H
#define DESIGN_PATTERN_H
class Demo{
public:
	virtual void Show() = 0;
	virtual void testFactory() = 0;
	virtual void testBuilder() = 0;
	virtual void testBuilder1() = 0;
	virtual void testProtoType() = 0;
	virtual void testSingleton() = 0;
	virtual void testAdapter() = 0;
protected:
private:
};
class Demo1 : public Demo
{
public:
	void Show();
	void testFactory();
	void testBuilder();
	void testBuilder1();
	void testProtoType();
	void testSingleton();
	
	void testAdapter();
};
#endif